<?php

class fssRouting extends sfPatternRouting
{
    /**
     * Removes the /:fb_secure/:fb_api_id part of the URL
     */
    protected function getRouteThatMatchesUrl($url)
    {
        $url = preg_replace('#^/[as]/\d+#', '', $url);
        sfContext::getInstance()->getLogger()->debug('{fssRouting} URL: '.$url);
        return parent::getRouteThatMatchesUrl($url);
    }
}

